package com.ruoyi.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.course.domain.ExamCourseBank;
import com.ruoyi.course.vo.ExamCourseBankVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 课程题库关系Mapper接口
 *
 * @author Tellsea
 * @date 2025-10-15
 */
public interface ExamCourseBankMapper extends BaseMapper<ExamCourseBank> {

    Page<ExamCourseBankVo> queryList(Page<?> page, @Param("entity") ExamCourseBankVo entity);

    List<ExamCourseBankVo> queryList(@Param("entity") ExamCourseBankVo entity);

    ExamCourseBankVo queryById(@Param("id") Long id);

}
